#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    double a, b;
    char c;
    while (scanf("%lf%c%lf", &a, &c, &b) != EOF)
    {
        if ((c != '+') && (c != '-') && (c != '*') && (c != '/'))
            printf("Invalid operation!");
        else
        {
            if ((c == '/') && (b == 0))
                printf("Wrong!Division by zero!");
            else if (c == '+')
                printf("%.4lf+%.4lf=%.4lf", a, b, a + b);
            else if (c == '-')
                printf("%.4lf-%.4lf=%.4lf", a, b, a - b);
            else if (c == '*')
                printf("%.4lf*%.4lf=%.4lf", a, b, a * b);
            else if (c == '/')
                printf("%.4lf/%.4lf=%.4lf", a, b, a / b);
        }

    }
    return 0;
}